﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Modules.quest.Managers {
    import flash.utils.*;
    import Display.DialogUI.*;
    import Modules.quest.Display.TaskFooters.*;

    public class GameQuestTaskFooterFactory {

        private var m_registeredTypes:Dictionary;

        public function GameQuestTaskFooterFactory(){
            this.m_registeredTypes = new Dictionary();
        }
        public function register(_arg1:String, _arg2:Class):void{
            this.m_registeredTypes[_arg1] = _arg2;
        }
        public function createTaskFooter(_arg1:String, _arg2:String, _arg3:GenericDialogView):ITaskFooter{
            var _local4:Class = (this.m_registeredTypes[_arg1] as Class);
            return ((new _local4(_arg2, _arg3) as ITaskFooter));
        }

    }
}//package Modules.quest.Managers 
